Chain glib's SIGCHLD handler from Emacs's (Bug#14474).
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Jun 2013 17:04:13 +0000 (10:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Jun 2013 17:04:13 +0000 (10:04 -0700)
commitfcb41288bd77e318885d87c1fe4eefd5d4263d39
treecb8f5926c5d8bdb9fdd146ede75bb4e6669c4fb0
parent70a24e255077b95996c680f4c3b9420f5ae2dd3b
Chain glib's SIGCHLD handler from Emacs's (Bug#14474).

* process.c (dummy_handler): New function.
(lib_child_handler): New static var.
(handle_child_signal): Invoke it.
(catch_child_signal): If a library has set up a signal handler,
save it into lib_child_handler.
(init_process_emacs): If using glib and not on Windows, tickle glib's
child-handling code so that it initializes its private SIGCHLD handler.
* syssignal.h (SA_SIGINFO): Default to 0.
* xterm.c (x_term_init): Remove D-bus hack that I installed on May
31; it should no longer be needed now.
src/ChangeLog
src/process.c
src/syssignal.h
src/xterm.c